﻿<%@ Control Language="c#" Inherits="TFC.Web.ThamSoHeThong" CodeFile="ThamSoHeThong.ascx.cs"%>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:panel style="VERTICAL-ALIGN: middle; TEXT-ALIGN: center" id="pnGrid" Runat="server" CssClass="label"
	BorderColor="Silver" BorderWidth="1px" BorderStyle="Solid">
	
	    <asp:datagrid id="grSysVar" Runat="server" Width="100%" PageSize="15" AutoGenerateColumns="False">
		<ItemStyle CssClass="LightRow"></ItemStyle>
		<HeaderStyle Font-Bold="True" CssClass="HeaderRow"></HeaderStyle>
		<Columns>
			<asp:BoundColumn DataField="ID" HeaderText="STT"></asp:BoundColumn>
			<asp:BoundColumn Visible="False" DataField="ParaName" HeaderText="T&#234;n tham số"></asp:BoundColumn>
			<asp:BoundColumn DataField="ParaDesc" HeaderText="M&#244; tả">
				<HeaderStyle Width="40%" HorizontalAlign="Center" CssClass="HeaderRow"></HeaderStyle>
			</asp:BoundColumn>
			<asp:BoundColumn Visible="False" DataField="ParaValue" HeaderText="Gi&#225; trị"></asp:BoundColumn>
			<asp:TemplateColumn HeaderText="Gi&#225; trị">
				<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
				<ItemStyle HorizontalAlign="Center"></ItemStyle>
				<ItemTemplate>
					<asp:textbox Width="99%" id="txtValue" runat="server"></asp:textbox>
				</ItemTemplate>
			</asp:TemplateColumn>
		</Columns>
		<PagerStyle Mode="NumericPages"></PagerStyle>
	</asp:datagrid>
	<asp:Button id="cmdUpdate" Runat="server" Text="Cập nhật" onclick="cmdUpdate_Click"></asp:Button>
	<asp:Button id="cmdCancel" Runat="server" Text="Quay lại" CausesValidation="False" onclick="cmdCancel_Click"></asp:Button>
	<hr />
	<h3>Mẫu thông số sản phẩm (Sử dụng mẫu này để điền khi thêm, sửa sản phẩm)</h3>
	<FCKeditorV2:FCKeditor ID="fck" runat="server" BasePath="~/fckeditor/" Width="620px"
                        Height="600px">
     </FCKeditorV2:FCKeditor>
     <asp:Button runat="server" ID="cmdThongSo" Text="Thông số" 
            onclick="cmdThongSo_Click"/>
</asp:panel>
<asp:Label ID="lblMessage" Runat="server"></asp:Label>
